			<div id="main">
				<div id="content">
					<div class="header">
						<h2>Create Characters</h2>
					</div>
					<div class="content">
						<?php if(isset($error)): ?>
							<span style='color:red'><?=$error?></span>
						<?php endif;?>
						<?php if(isset($message)): ?>
							<span style='color:green'><?=$message?></span>
						<?php else: ?>
						<?=validation_errors()?>
						<?=form_open('account/create_character')?>
							<?=form_fieldset('Create Character')?>
								<div class="fieldset">
									<?=form_label('Name','name')?>
									<?=form_input('name')?>
								</div>
								
								<div class="fieldset">
									<?=form_label('Class','class')?>
									<?=form_dropdown('class',array('Fighter' => 'Fighter', 'Sorcerer' => 'Sorcerer', 'Rogue' => 'Rogue', 'Monk' => 'Monk', 'Warlock' => 'Warlock'), 'Fighter')?>
								</div>
								
								<div class="buttons">
									<?=form_submit('create','Create')?>
								</div>
							<?=form_fieldset_close()?>
						<?=form_close()?>
						<script type="text/javascript">
							document.getElementById('name').focus();
						</script>
						<?php endif;?>
						<hr />
						<a href="profile">Back to profile</a>
					</div>
					<div class="footer"></div>
				</div>
